<%@ page language="java" pageEncoding="utf-8"%>
<html>
	<head>
		<title>多站点多个属性的联合比较</title>
		<script type="text/javascript"
			src="<%=request.getContextPath() %>/FusionCharts/FusionCharts.js"> </script>
		<script language="JavaScript"
			src="<%=request.getContextPath() %>/FusionCharts/FusionChartsExportComponent.js"></script>
	</head>
	<body>
		<div id="fcexpDiv" align="center">
			通过XML方式获取静态页面的横向图
			<br>
		</div>
		<div id="chartContainer">
			FusionCharts will load here!
		</div>
		<script type="text/javascript">         
     var myChart = new FusionCharts( "<%=request.getContextPath() %>/FusionCharts/Column2D.swf", "myChartId", "100%", "100%", "0", "1" );
     myChart.setXMLData(" <chart yAxisName='Sales Figure' caption='Top 5 Sales Person' numberPrefix='$' useRoundEdges='1' bgColor='FFFFFF,FFFFFF' showBorder='0' "+
     "exportEnabled='1' exportAtClient='1' exportHandler='fcExporter1'>"+
"<set label='Alex' value='25000' /> "+
"<set label='Mark' value='35000' /> "+
"<set label='David' value='42300' /> "+
"<set label='Graham' value='35300' />" +
"<set label='John' value='31300' />"+
"</chart>");
      
     // myChart.setXMLData("<chart caption='**【单一站点】【多重属性】【多层深】查询**' xAxisName='层深' yAxisName='属性值' showValues='0' numberPrefix='null'><categories><category label='50(M)' /><category label='100(M)' /><category label='150(M)' /><category label='200(M)' /><category label='250(M)' /><category label='300(M)' /><category label='350(M)' /><category label='400(M)' /><category label='450(M)' /><category label='500(M)' /><category label='550(M)' /><category label='600(M)' /><category label='650(M)' /><category label='700(M)' /><category label='750(M)' /></categories><dataset seriesName='2006'> <set value='27400'/><set value='29800'/><set value='25800'/><set value='26800'/><set value='29600'/><set value='32600'/><set value='31800'/><set value='36700'/><set value='29700'/><set value='31900'/><set value='34800'/><set value='24800'/></dataset><dataset seriesName='2005'> <set value='27400'/><set value='29800'/><set value='25800'/><set value='26800'/><set value='29600'/><set value='32600'/><set value='31800'/><set value='36700'/><set value='29700'/><set value='31900'/><set value='34800'/><set value='24800'/></dataset><styles><definition><style name='CanvasAnim' type='animation' param='_xScale' start='0' duration='1' /></definition><application><apply toObject='Canvas' styles='CanvasAnim' /></application></styles></chart>");
      myChart.render("chartContainer");
    </script>

		<div id="fcexpDiv" align="center">
			FusionCharts Export Handler Component
		</div>
		<script type="text/javascript">
    var myExportComponent = new FusionChartsExportObject("fcExporter1", "<%=request.getContextPath()%>/FusionCharts/FCExporter.swf");
    myExportComponent.Render("fcexpDiv");
</script>

	</body>
</html>
